package com.bl.weilan.service.vo.train;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by liangweikang on 19/8/31.
 */
@Data
public class TrainVo {

    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "活动名称")
    private String title;

    @ApiModelProperty(value = "老师")
    private String teacher;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "权重")
    private int weight;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;


    @ApiModelProperty(value = "开始时间")
    @Column(name = "start_time")
    private Date startTime;

    @ApiModelProperty(value = "链接")
    private String url;

    private boolean isStar;
}
